# enumerate(lists,start=0)
# start的默认值是0
# 每次迭代产生一个元组()
lists = [1, 2, 3, 4]
tmp = 0
for i, j in enumerate(lists):
    tmp += i * j
print(tmp)
